using net_work.Data.Enum.Sys;

namespace net_work.Data.Entity.Sys;

/// <summary>
/// 学生实体类
/// </summary>
public class Student : BaseEntity
{
    /// <summary>
    /// 学生学号
    /// </summary>
    public required string StudentNumber { get; set; }

    /// <summary>
    /// 学生学历
    /// </summary>
    public required StudentQualificationLevel StudentQualification { get; set; }

    /// <summary>
    /// 学生入学日期
    /// </summary>
    public DateTime? AdmissionDate { get; set; }

    /// <summary>
    /// 学生毕业日期
    /// </summary>
    public DateTime? GraduationDate { get; set; }

    /// <summary>
    /// 学生紧急联系人姓名
    /// </summary>
    public string? EmergencyContactName { get; set; }

    /// <summary>
    /// 学生紧急联系人电话
    /// </summary>
    public string? EmergencyContactPhone { get; set; }

    /// <summary>
    /// 班级ID（外键）
    /// </summary>
    public required long ClassId { get; set; }

    /// <summary>
    /// 个人ID（外键）
    /// </summary>
    public required long PsnId { get; set; }
}